import org.softmed.rest.generation.uri.URIBuilder;

if (content.startsWith(URIBuilder.getMainPath())) {
	int ix = content.lastIndexOf('/');
	String hid = content.substring(ix + 1);
	childId = hid;
} else
	childId = content;